package com.copa.gameStore.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("game-goods")
public interface GoodsClient {

    @GetMapping("stock")
    void stock(@RequestParam("gameGoodsId") Long gameGoodsId,
               @RequestParam("num") Integer num);
}
